package com.order.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.order.po.order_record;
import com.order.po.put_record;
import com.order.dao.put_recordDao;
import com.order.service.put_recordService;
@Service
@Transactional
public class put_recordServiceImpl implements put_recordService {
	 @Autowired
	   private put_recordDao put_recordDao;
	@Override
	public List<put_record> getput_recordbyid(String parameter) {
		// TODO Auto-generated method stub
		return put_recordDao.getput_recordbyid(parameter);
	}
	@Override
	public void insert_put_record(List<put_record> list) {
		// TODO Auto-generated method stub
		for(int i=0;i<list.size();i++) {
			put_record o = list.get(i);
			put_recordDao.insert_put_record(o);
		}
	}

}
